package com.kuang.demo.mapper.wx;

import com.kuang.demo.bean.wx.TopicDetail;
import com.kuang.demo.bean.wx.TopicList;
import com.kuang.demo.bean.wx.TopicRelated;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WXTopicMapper {
    int selectCountTopicList();

    List<TopicList.DataBean> selectAllTopicList();

    TopicDetail.DataBean.TopicBean selectTopicDetailById(@Param("id") int id);

    List<TopicRelated.DataBean> selectAllTopicButId(@Param("id") int id);
}
